package top.timous.service;


import top.timous.pojo.ScoreEntity;
import top.timous.pojo.StudentEntity;
import top.timous.vo.CourseTable;
import top.timous.vo.PageSize;
import top.timous.vo.ScoreTable;

import java.util.List;

public interface StudentService {

    StudentEntity queryStudentByIdAndPwd(StudentEntity studentEntity);

    StudentEntity queryStudentById(StudentEntity studentEntity);

//    List<CourseTable> queryAllCourse(PageSize pageSize);

    String queryClassNameById(Integer classId);

    String queryHomeNameById(Integer homeId);

    void selectCourse(ScoreEntity scoreEntity);

    boolean isExistselectCourse(ScoreEntity scoreEntity);

    List<CourseTable> queryAllSelectCourse(PageSize pageSize);

    List<Integer> queryCourseListById(String stuId);

    List<ScoreTable> queryAllGrade(PageSize pageSize);

    int queryAllGradeCount(String stuId);

    int queryAllCourseCount();

    List<CourseTable> queryAllCourseByCourseTable(CourseTable courseTable);

    int queryAllCourseByCourseTableCount(CourseTable courseTable);

    void deleteSelectCourse(ScoreEntity scoreEntity);

    boolean isExistScore(ScoreEntity scoreEntity);

    void updateStudentPassword(StudentEntity studentEntity);
}
